//
//  WXPopView.h
//  CarJX
//
//  Created by xcq on 14-9-20.
//  Copyright (c) 2014年 KK. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface WXPopView : UIView <UICollectionViewDataSource,UITableViewDataSource,UITableViewDelegate,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>{
}
-(id)initWithCollectionFrame:(CGRect)frame andDataSource:(NSDictionary *) datesource;
-(id)initWithTableViewFrame:(CGRect)frame andDataSource:(NSDictionary *) datesource andClickNum:(int) clickNum;
@property (nonatomic, copy) void (^CellClickBlock)(NSString *str,NSString *str2);
@property (nonatomic, copy) void (^CellDistanceClickBlock)(NSString *str);

@property (nonatomic ,assign) int clickNum;
@property (nonatomic , retain) NSMutableDictionary *serverDic_one;
@property (nonatomic , retain) NSMutableDictionary *serverDid_two;
@property (nonatomic , retain) NSMutableArray *mapDistanceArray;
@property (nonatomic , retain) NSMutableArray *serverArr_one;
@property (nonatomic , retain) NSMutableArray *serverArr_two;
@property (nonatomic , retain) NSMutableArray *serverArrName_one;
@property (nonatomic , retain) NSMutableArray *serverArrName_two;

@property (nonatomic , retain) UICollectionView *collection;
@property( nonatomic , retain )UICollectionViewFlowLayout *layout;
@property (nonatomic , retain) UITableView *tableView;
@end
